<?php

use Illuminate\Database\Seeder;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        for ($i = 0; $i<100; $i++){
            DB::table('users')->insert([
                'username' => str_random(10),
                'password' => str_random(60),
                'status' => rand(0,1),
                'auth' => rand(1,3),
            ]);
        }
    }
}
